<include file="../Public/head" />
        
<div class="menu">
    <ul>
        <li><a href="{:U('add')}">添加分类</a></li>
    </ul>
</div>
<div class="clear"></div>
        <div class="add">
            <form method="post" action="{:U('doadd')}">
            <table>
                <tr>
                    <td>分类名称</td>
                    <td>
                        <input type="text" value="" name="name" />
                    </td>
                </tr>
                <tr>
                    <td>所属分类</td>
                    <td>
                        <select name="fsid">
                            <option value="0">主分类</option>
                            <foreach name="list" item="vo">
                                <option value="{$vo.sid}">{$vo.name}</option>
                            </foreach>
                            
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>所属账户</td>
                    <td>
                        <select name="smid">
                            <option value="0">无</option>
                            <foreach name="member" item="vo">
                                <option value="{$vo.id}">{$vo.name}</option>
                            </foreach>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td><input type="hidden" name="place" value="2" /></td>
                    <td><input type="submit" value="添加分类" /></td>
                </tr>
            </table>
            </form>
        </div>
<include file="../Public/foot" />